package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "任务改期请求参数", description = "用于护理任务改期的参数")
public class NursingTaskRescheduleDto {
    @ApiModelProperty(value = "护理任务ID", required = true)
    private Long taskId;

    @ApiModelProperty(value = "新的执行时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime estimatedServerTime;
}
